Apparently ljust is deprecated, so I switched to the new syntax for string formatting.
Added a basic command prompt class and included some demonstration code in main.