Change folder layout

Changed folder layout, `prototype` wasn't the best naming for the core, functional code on `master` branch.