api: going to old style of array defining in php
moved db config to ignored file