added flipflops controller, migrations and views