Don't need this anymore, use json_encode to print errors instead
Bills is not OO but whatever
refactor
No more debug
Send correct headers
Account for differences in directory