Reorgnizate the source code for automake
  Prepare for automake