Added documentation and simplified package structure. Tested and worked
on Eclipse IDE.