Restructured the dirs; added a lib; finished numerical ops