Added author headers to files. Modified class structures a bit.