refactor(apimock): convert if's to switch
refactor(apimock): put functions alphabetically
chore(bower): set appPath