Added Apache's commons-io lib and started using it in the code

Issue #5 pull request. @Mequrel - deal with this.