class implementation (seeking for performance updates)

Signed-off-by: Victor Gonzalez <victor.gonzalezr@usm.cl>