segment abstraction added and utils file created
deleted examples dir