NodeJS -> create config/db and beer model refactor