base refactoring, provide content types and behaviors for view related stuff