updated readme, started adding functions
functions init and main
test