Added databaseFunctions

functionTest for testing out function (ignore it) .. financing and
orderHistory works basic functionality .. wtill on inventory and
orderqueue