setup dialyzer
better Makefile
add log config
refactor and simplify app
changes in TODO