moved api code out of app into twhispr-api repo