Moved some files around. Added some documentation.