Fixed bugs. Added readme