Moved kernel API classes into Kernel\Api namespace, added proper Sleep implementation.