Further changes to support afterglow as submodule
Added ignore rules to simplify development