Add files from common

Since callisto uses different "common" files, move them to the
device repo instead.