Improvements to makefile and formalizing mouse driver script