Refactored types
Added searchDir
Fixed var name col -> color
Added placeholder main function