uses asp.net 4.0, changed tables

major code refactoring, table names and column names are no longer
hardcoded, it is now possible to disable prepared statements