Seperated commandhandler from all other classes