Organised the code
Fixed some typos
Added missing files