added all four files; early version; inconvinient to configure