add basic xml-rcp support
switch production db to postgresql