Replaced Jad e with EJS
added insert and byUrl functions to database. added init