completed set command
created logfile for logic
added method to set state

-added constants for setting state
-edited code for creating logfile
removed logging.Level
add unit test for ui
add unit test for ui
add unit test for ui
add unit test for ui