Added old database code to ExSciTech, which improves/fixes Issue #3, fixes some outstanding bugs. Also fixed cookies.