Remove executable flag from files
Style changes and cleanup