Move db to own function. Add several bartfiles. Add script for installing bartfiles and starting server