added a few important docstrings, newlines, added pip
removed old hierarchy and removed js