Added more methods to database package