Init apigility and phinx