Bunch of updates, read description

Added new files for adding and editing categories. Changed the function
names to fit the structure accordingly in class/db.class.php. Finally,
created a new class/db.class.php function, addToTable($table, $inputs)
that adds all inputs to the table in the database.