moved frontend stuff to the frontend folder