Added database class, switching between months work now