Added the main file

Started constructing state machine, but there is no port mapping, input
or reset signal yet