Added ajax support to build the new table to the page, now updates without refreshing - refactored codebase to neaten the project up, made changes to the database to make it more linear.