Express controller added for testing

refined calls to the server, removed decrement and increment functions
from the plugin.