Refactored similar views and data providers.
Merge pull request #65 from rhyolight/refactoring

Refactored similar views and data providers.