Updated test files for (Web|Cli)App, moved helper Classes to files
added chache dir to ant clean task
Removed is_writable check, to create file if it not exist.
Updated return type