minor cleanup for server script
added a work in progress controller script