Added custom init and improved example project