added emacs to gitignore.
added basic functionality.
Merge branch 'release/v0.4'