API v1 - WIP and some config changes