Database returns Publication instances now

Also working on Emailer, no commit though