Framework files, refactored to use ko