Added directory search

Polyglot nows searches for files below its PWD. Thus, it works fine as
long as the directory being analyzed is below PWD.
Also deleted some unused stuff