Moved headers and cfiles into separate variables

In Makefile.am automake configuration file