Indentation fixes

putting everything inside of main