Fixed some bugs & Wrote README