Add application Makefile
Implement core unittests