[WIP] Init api

would be better using a param converter