Added clearCache function
clearCache function
- moved license file
- updated test