Cleaned up some relative path code, added database support in the scanning subroutine.  Very Commit, Much code.  Such python. Wow.