Mainly config and doctrine integration