deleted useless libraries, cleaned code