Added comments and change to file layout.