Toolbox update

Added the toolbox to the project. You can now add some layer types. Also
cleaned up all the code in the project using CodeMaid, which removed a
lot of unnecessary code.