Added raphaeljs files and first state machine test.