working?

Works currently as an array, needs to be changed over to sql for full
functionality. Also set up to run in the current directory and take
everything in that directory as root.