Programming hub V2

Is there any interface that we can design so that we can deploy code at the top of the hub and fetch data from smartThing devices.