Answered readme questions and changed some code