Restructured dir structure. Added specification document.