Part 1 and 2 completed

Part 1 is in the part1 folder.  Part 2 uses CodeIgniter and is in the application folder.