Fixed addType function. Added delete functionality. Basic/rough menu and buttons