Create api, start working on persistance setup