Replaced instance methods with static functions. Added a print separator method. Invalid commands have NOT been fixed.