Invoke Global Constructors
Add lock and synchronization implementations

Right now its still largely stubbed out but at least functional for the
time being