add lua 5.2
create/destroy lua state
begin console interfaces