intial code based on wordpress

Brought over wordpress functions
removed reliance on backbone and underscore
changed namespaces
added ability to trigger extra functions other than edit and remove (which is limited I mean WTF!)