Renamed, commented, formatted and moved some files.