Bash Scanner

Work in progress. Lacks tests. Solves #19, might be related to #115.