Various refactoring to extend Design page and Design download and resolve various bugs
fixed a unit test