Added more protection against sql injection
cleanup
deleted unnecessary files