moved interfaces into public folder