added hbsfy, better template, frontend stuff