Added more configuration options

Added a configuration keys section to the code, fixed the move file
logic, added better directory creation support, and more