Fixed lots of bugs and increase the version

to 0.0.3