Added resource file and cleaned up usings