add step fragment; finish all step fragment function; add functions in database to support step fragment