modified most CLI commands and added new ones; created the .cosmo file for state; added excepthook for better exception handling