Work on api back-bone, MySQL repositories framework