Completed main methods for server/nodes