Made it compilable in OS X
Add a readme file