adding libraries and structure