add necessary files
fix configure.ac's