Fixed errors from reformatting libraries

Added user interface library and movement library as well as general
cleaning up of the libraries