Added constructors for Design and Line.
Added Libraries.
Reorganized the functions (created misc.cpp).