Clean version and working code
initial release verion 0.8