Move sources to separate directory.
Create data directory if not present, print errors.
Make output a little easier on eye and make script errors stand out stronger.