Moved cache and logs to base directory.