Move automatic initialization within the no conflict scope.

Move demo to demos folder, add a tests folder.