Major refactor to simplify future.
This release contains a major refactor which means it could contain issues. Please help me fix these.
This release will make it possible to add sensors that have been requested as well as makes feature development easier