restructuring some files
updated the Insert statement to use a stored procedure