refactored path logic, switched cli to render API, stylesheets tests