added getCount() method fo genericDao and getBatch for cantacts
implemented basic BL layer