Removed useless code and updated project file