refactor the kernel to be symfony compatible (somehow for cli clean:cache e.g.)