Changed directory structure and set up autotools