add initial build files and simple fsm