Lots of PHP Functionality/Some Styling Changes

Added a lot of functionality for adding/deleting records, as well as
updating/fixing bugs with ones for displaying (e.g. getSales/Purchases,
etc.)