Added databaseFunctions

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