How do I specify my Topology class when submitting the jar via NimbusClient ?

I am able to submit my jar via Nimbus client to a remote server where nimbus is running. I can see a topology entry on the storm ui as well however, I could not see the spout and bolt details on the next page. Also, none of the life cycle methods have been invoked. I suspect the topology main method within the jar has not been invoked as I didn’t specify the class name anywhere in the config. This works well if I deploy it directly via command line i.e ./storm jar #jar# #classname#.

Please help.