refactor project
add booking database library