Created a database broker to clean up code and maximise re-use. Also push request almost complete