fix compilation for Opa 1.0.5
removed some warnings
clean Makefile
fix launch error by disabling db access in command line
Merge pull request #6 from Aqua-Ye/master

Fixed compilation and run with Opa 1.0.5