Database update

Added new Types table to db_connect to specify different types of
orders. Updated functions-lib with new insert statements to handle web
form data