init build process TODO: fix dependencies