First commit of the main package, with some experimental work