move device to a standalone project