Add directory struct and Autoconf config