This is not a trivial task, partly because your question doesn't have all the needs for an application, and partly because the topic is too broad for a simple preparation. Try a search engine, and see if you can find what you need. Or at least learn that the task is too complex.