added SQLite database functionality
updated web templates