Adding additional features

How do i add additional features/components to the FMS components?

such as eraser, freehand, line, rectangle

anyone can help?