Added detector class, no functionality yet