Minor code change.
Added some new helper functions.
Begin redesign of Razer wrapper.