update something

1.change lib directory to plugins
2.modify build.xml to change lib directory to plugins
3.add a app file to run in mac