Added idle period before processing file changes

Added version logic to prevent older version from overwriting newer files.
Fixed private static final javaBean