Created main that makes both devices