What are the branches and functions of Maine government as laid out in the Maine Constitution?

The Maine Constitution, which you can see at the links below, created a legislative, judicial, and executive branches like the federal government has:

Section 1. Powers distributed. The powers of this government shall be divided into 3 distinct departments, the legislative, executive and judicial.

In Maine, the Governor can be elected for two, four year terms.

Their legislature is part time. The House of Representatives and the state Senate are limited to four consecutive two-year terms. After that, they must either run for a different office, or take a break from service.