Refactored the main view's adapter
Should now be faster, and more reusable in the dependency fragments.