Added a few javadoc headers to every function and class