Add first basic implementation of ctail