Modified evaluation function to consider magnitude of changes.
Various refactors to simplify future development.
Fixed file permissions and removed svn metadata.