a little bit of refactoring

Its a bit annoying when you're going though dwm and
you have to go though all of the function prototypes and
variables and typedefs, so i moved them to their own header
file.