Fix sloppy imports by setting path variable instead of using relative directories. Clean up syntactical errors