Added documentation
Added package attributes
Added documentation and some temporary debugging