sorted functions into classes and added start menu