2 api controllers

resolves #2