added access controll to all classes