Add prototypes for planned functions
Move ssh calls to seperate functions