database related stuff

included saving coordinates via input (from a form for now) into the
database. added the sql to import to create database.