Moved DAO configuration to properties file. Changed postgres password :) since I stupidly had my laptop postgres password in the code :(. It's changed now, so if you're reading this, it won't work now.