Add schemas code, second attempt.

I've split the schemas commands into a separate .jar