Move to autoconf and automake
Move binary to sim
Complete new structure