Added control functions

Added functions to control the system and also a skeleton management
tool to view short links, edit them etc.