Added method to set exposed ports. Updated lib version