Added basic image output, and started on directory manipulation