Created directive for partials, improved activity loading, resolved #1.