Added image subroutine components
Cleaned up the image profile subroutine

Rewrote and cleaned up the profile subroutines. Also organized
image.gsub better.
Merge branch 'image-subroutine'
Get config ready for first use