Separate client api into core and dom, core is for api's that don't require a dom or browser and eventually will be free of all references to ext.