Add setup.py file.
Add version to moa.
Add dir param to save_state.