Refactored back-end, cleaned-up sql