build search engine and Json-song decoder