Added Transaction, extended iRepository, Added BaseAPI