Now using a stored procedure.
Added .gitignore file