bug fix with markup and refactored the code to be more readable
Added installation instructions