Structured PHP, all GET/POST to main, require functions from other files.
big API update.  most functionality done.
finished api as per tim's request.
merged monster api update