removed files from cache dir, made config file samples, reformated code to psr0/psr1 standards.