Basic integreation with LOVE2D.

Nothing out of the ordinary, just moving some code around and adding the callback functions.