fix AR connection and add few folders to generator