fixed prompt err
prompt fixes
style updates, docstrings
updated docstrings
added merge docstring
added prompt docstring
added schema docstring
added select docstring