Improved sln writer, refactor graph
Dont add folder for empty
Added method to group by Ns