Design Main + Tests