Fixed some bugs!

* Added new validation method (still needs to be tested)
* Fixed module and import bugs
* changed sample config file to use /temp directory for easier testing