Merge changes I43be5550,Ic40da64f,If8241959

* changes:
  Refactor public_libraries.*
  Introduce utils.h
  Move public libraries list to a separate source file