Starting to add daemon stuff, but it's not working right now :(