Added encryption to bitpack and completed basic runtime.
Added the Function constructor to the state table