Normalize EOLs
More smart pointers
Move some plugin info to separate header