Implemented CycleDetector and Basic Preferences Page
Merge