Remove an unneeded prototype
Added the Thread class

Started the keep-alive thread process