Closes #1 -- Restructured to do ajax the wp way