Changed the order of all the files and added comments.