Rename motor

Renamed motor to home automation to create module that has all the
classes inside.
Merge Motor, Door, and Motion

Merge the motor, door, and motion into one class.  Removed the main
method since this will just be all of the classes to be used as a
library.  A new script will be created to run and test the libraries.