Add compactdb script
New input generator types for unitary example