New branch 0.5

Verified compatibility with last Duality release
Added Sample project