Added Code::Blocks project

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Clean up shared_ptr mess

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>