testing OpenAI API and implementing the API into functions further development into a standalone app WIP