Cleanup project to make it a simple library ready for luarocks integration.