Move Adept to adept-core

Would be nice to not use vars, but it would probably require that parseObject below is changed to return something.