added a header to every file. added some javadocs, had to leave, will
add more in a few hours.