add support for CHANGE, some refractoring
add cache and server lib files to gitignore