Wrapped slots and funs in classes + modified main