added __main__ to main file
some changes to getting alm from map2alm
try to solve conflict