added timeout to stargate dial-outs
Worked on Class API and migrated some of easy to it.