Lightweight toolkit for implementing metamodels in Java