Moved shared lib code to gem. Made server stoppable.