added timer class
added basic composition