Added lapi
Merge pull request #999 from xiamx/master

Added lapi