added function for full bytecode processing; bug fixes; exports