Added few tests and some user method into interface
Interface.rb modified and action loop added