Removed main content field group being defined in code and added main content field group to basic page content type during install. Added dependencies.