Add Makefile.am for main and luc-handler directories