adding codestyle.xml and reformatting