checking for cocoon
added in cocoon SDK and webview test
some refactoring, code cleanup
fixed girl ref
fixed some problems