added sub dir in srcs and changed makefile