On our way to first alpha

- makefile changes
- logging (to resolve #5)
- detaching (to resolve #4)