Added a command parser & fixed some bugs during the creation of tables.