renamed the main latex file
added proper preamble
fixed a compilation error