add flexpaper source code