added startup- and shutdown method in context