refactored app with factories

	added new test file for
	find wiki.
	$http methods now configured with factories