Building dependencies and main server file