Added 'prepquery'. Enables inserts, updates and deleting. BE CAREFUL