got ride of unnecessary files; messages are now being saved to the database