Restructured Engine

split the "habits' class into habits, dailies and tasks