cleared useless data
added indexes to tables