changed structure of prototyping and initializing in module. This broke the tests, but probably got the device working