DBhandler for swansea group project