Kohana 3 framework, Bootstrap 3, PostgreSQL, stored procedures, AJAX