Bug fixes
Added documentation file