made ConsoleApp instance instead of static
Refactored commands to ShreplCommand structure