Added my patterns fragment. Improved connection with the database for month view.
Added statistics fragment.