Move inline member functions into header
Move libuv event handlers to files, further encapsulates Package class