Swapping code with external library

readfile and readconfigdir have been removed and refactored to use parse-dir instead.

Fixes #62
lets stick with the current style of a var on new line