Added api module, and made minor changes to __init__.py