successfully reintegrated database functions
changing constant database value to variable
cleaning and testing code
refactoring
cleaning code
adding in function comments
commenting code
Merge branch 'master' into previous_version
Merge branch 'previous_version'