Moved assertions in separate package.
Implemented lang file writing.