allow empty options in constructor
make importing of detector code more dynamic