checked out updated core files from subdomain
fixed typo
pylinting and cleaning
finished cleaning up code
updated API documentation