Initial substantial commit

src from version 0.2.0 and file stubs in doc