implementing commands that can be run by a user. base class created