added curl examples and changed all hibernate fetching to eager
added curl example file