getting closer

use prepared statements

re-organize

setting up to use classes in the near future