Code moved in api directory, use of api_tokens and users tables, running all queries using openemr sql wrappers.
Remove add_escape_custom function from post variables and put it in the variables in query, Remove twice binding in simple queries.
Add copyrights text
Modify copyrights text and add enable/disable api settings.
Add api enable option in openemr global file.
Merge pull request #4 from medmasterpro/master

Add Codebase Security Plan and Structure Changes