Added functional test skeleton which can init state
Moved communication state into its own struct. Havent solved ISR handling yet.
Moved global communication state into struct
Merge pull request #24 from greghaynes/feature/func-testing

Feature/func testing