Added main file, fixed some project settings.