Update makefile to better define dependencies
Add a basic implementation of WindowManager.