Use the new API instead of the new one in the facade
Fix most tests
Use logged in the new system
Create wlcontext to get rid of the old core methods