device constants file added. Code cleared, and some getters implemented