Added documentation & minor refactors