namespace added

Solves #3 and #4 

Is readme ok?