Added state diagrams, organized project a bit more.