Make classes public otherwise they cannot be recreated by Android's state saving (Exception was thrown when orientation changed)