fix api functions
add easy drop/reload sql interface
fix init script
trying to get control queue working, not done yet