Finished release v0.4.
New version, code cleaned and classifications added