refactored for proper file naming and created factory to manage object creation.
Added separate unit tests for factory and cassandry worker even though mostly redundant.
added support for writing sensor data and optimized handling of prepared statements, caching across api calls.