v0.1.0

Created a "state machine". It's gonna be refined and a more advanced
version will be used instead. This will do for now though.