Add some libraries, move fragment into activity.