Created Schema class with all shared functionality