Added most of the command functionality into the project