services/controllers rewritten to typescript, unnecesarry files removed from lib (bower is used from now on)