API version update

Also, removed lua code from lib folder since it does not belong there.