Work progressed

Almost everything done for v1.0, but currently having some trouble with memory and pointers (-> localtime pointer, etc...)