implemented init functions
readme update