* Move parsing code to core library * Move definitions to public API to allow access from outside * Move smartcard related parsing to core library