Several changes
Several changes part 2

Added Visual Studio project, added sample gathering and some other less
important changes. Most of the code is still in polish, sorry