move design out of dll