Added ELM api and init file so that you could load it as a module