removed unecessary libs and finalized conf generation