Moving all stuff into c2s

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>