Fixed prototype issues; added more management functions
Syntax errors zzzz