Moved to Beego framework, added API routes and DB ORM