component init
first test
more tests and added fine and findOne static functions