Version 1.5 Created almost all base sql queries