some fixes, seems to work now. readme added.