There is a lot to say about these so I'll number the comments
(I suggest you choose the best of your images rather than post four very similar ones. Not only does that concentrate comments but it also gives you a little exercise is evaluating your own work.)
1) there are two issues with sharpness - focusing on the center of interest and controlling motion blur.
2) focusing on the center(s) of interest. Since you probably want the silhouetted houses/trees in focus
and the stars, you will have to focus at the hyperfocal distance.
Hyperfocal distance - Wikipedia, the free encyclopedia
In
optics and
photography,
hyperfocal distance is a distance beyond which all objects can be brought into an "acceptable"
focus. There are two commonly used definitions of
hyperfocal distance, leading to values that differ only slightly:
Definition 1: The hyperfocal distance is the closest distance at which a
lens can be focused while keeping
objects at infinity acceptably sharp. When the lens is focused at this distance, all objects at distances from half of the hyperfocal distance out to infinity will be acceptably sharp.
Definition 2: The hyperfocal distance is the distance beyond which all objects are acceptably sharp, for a lens focused at infinity.
The distinction between the two meanings is rarely made, since they have almost identical values. The value computed according to the first definition exceeds that from the second by just one
focal length.
As the hyperfocal distance is the focus distance giving the maximum
depth of field, it is the most desirable distance to set the focus of a
fixed-focus camera
Go to DOFmaster.com for hyperfocal calculations.
3) Motion blur. - as you can see there is blur due to the passage of time and the movement of the earth in relationship to the stars. This is controlled either by a fast shutter speed or a sophisticated tripod head that moves the camera as the earth moves. (read about astrophotography for more information)
4) noise - as you can see in the same clip, there is a good deal of noise in the dark sky because of the behavior of the sensor in the shadows where the signal to noise ratio is relatively low. This can be removed but at the cost of some detail.
You are sort of stuck here. Your camera doesn't shoot well at high iso. The lens is not at its best wide open. The needed smaller aperture/shutter speeds for getting foreground and background in focus means an iso that your camera can't manage well and will mean star blurriness.
One possible way around this is to expose for the buildings (on a tripod) then expose for the stars (trial and error needed) and the merge the two images.