Added functionality to switch between prod and dev

used an if statement that is machine specific
created a seperate database for prod