classes.rb -> types.rb
rename algorithm class to indicate that it is used only for tracking
basis of static detection engine
required distance as constant