Some more functionality added plus SQL file updated