Initial batch of quick fsm files

Initial sources, tests and maven build files. Also including IntelliJ
projects files, will revisit that eventually.