updated docstrings
re-organized imports as per pep8
Added remote tests