added index as controller, moved dashboard to dashboard module