Imported ninja core engine
Added logic for obstacles